package com.bwie.service.impl;

import com.bwie.mapper.CityMapper;
import com.bwie.mapper.ReportMapper;
import com.bwie.pojo.City;
import com.bwie.service.CityService;
import com.bwie.utils.R;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author GaoYiJie
 * @Description
 * @Create 2025/4/17 13:47
 * @Version 1.0
 */
@Service
public class CityServiceImpl implements CityService {

    @Resource
    ReportMapper reportMapper;

    @Override
    public R getCityReportNumList() {
        List<City> cities = reportMapper.getCityReportNumList();
        return R.OK(cities);
    }
}
